home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / src / oct-prcstrm.h < prev    next >
C/C++ Source or Header  |  1996-07-14  |  2KB  |  77 lines

  1. /*
  2.  
  3. Copyright (C) 1996 John W. Eaton
  4.  
  5. This file is part of Octave.
  6.  
  7. Octave is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. Octave is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Octave; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. */
  22.  
  23. #if !defined (octave_octave_procstream_h)
  24. #define octave_octave_procstream_h 1
  25.  
  26. #include "oct-stdstrm.h"
  27.  
  28. class
  29. octave_iprocstream : public octave_istdiostream
  30. {
  31. public:
  32.  
  33.   octave_iprocstream (const string& n,
  34.               ios::openmode arg_md = ios::in,
  35.               oct_mach_info::float_format flt_fmt =
  36.               oct_mach_info::native);
  37.  
  38.   ~octave_iprocstream (void);
  39.  
  40. private:
  41.  
  42.   // No copying!
  43.  
  44.   octave_iprocstream (const octave_iprocstream&);
  45.  
  46.   octave_iprocstream& operator = (const octave_iprocstream&);
  47. };
  48.  
  49. class
  50. octave_oprocstream : public octave_ostdiostream
  51. {
  52. public:
  53.  
  54.   octave_oprocstream (const string& n,
  55.               ios::openmode arg_md = ios::out,
  56.               oct_mach_info::float_format flt_fmt =
  57.               oct_mach_info::native);
  58.  
  59.   ~octave_oprocstream (void);
  60.  
  61. private:
  62.  
  63.   // No copying!
  64.  
  65.   octave_oprocstream (const octave_oprocstream&);
  66.  
  67.   octave_oprocstream& operator = (const octave_oprocstream&);
  68. };
  69.  
  70. #endif
  71.  
  72. /*
  73. ;;; Local Variables: ***
  74. ;;; mode: C++ ***
  75. ;;; End: ***
  76. */
  77.